<template>
  <div class="plugin-cash scroll-box">
    <el-menu class="nav" mode="horizontal" default-active="/plugin/cash" router>
      <el-menu-item index="/plugin/cash">{{ plugin.lang('nav.0') }}</el-menu-item>
      <el-menu-item index="/plugin/cash/bills">{{ plugin.lang('nav.1') }}</el-menu-item>
      <el-menu-item index="/plugin/cash/list">{{ plugin.lang('nav.2') }}</el-menu-item>
    </el-menu>
    <el-scrollbar>
      <router-view />
    </el-scrollbar>
  </div>
</template>

<script>
import app from '@/app'

export default {
  setup() {
    return {
      plugin: app.plugin.index
    }
  }
}
</script>